package com.ruoyi.iot.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class IotDataWeather {
    /**
     * 设备ID
     */
    private String deviceId;
    /**
     * 遥测终端ID
     */
    private String remoteId;
    /**
     * 监测上报时间
     */
    private Date reportTime;
    private String temp;
    private String feelsLike;
    private String humidity;
    private String precip;
    private String pressure;
    private String windScale;
    private String windDir;
    private String vis;
    private String dew;
    private String cloud;
    private String fxTimeForecast;
    private String tempForecast;
    private String windDirForecast;
    private String windScaleForecast;
    private String windSpeedForecast;
    private String humidityForecast;
    private String popForecast;
    private String precipForecast;
    private String pressureForecast;
    private String cloudForecast;
    private String dewForecast;

    private String fxTimeMinutely;
    private String precipMinutely;
    private String typeMinutely;
    /**
     * 报文值
     */
    private String reportText;

    //经度
    @TableField(exist = false)
    private String longitude;
    //纬度
    @TableField(exist = false)
    private String latitude;

    @TableField(exist = false)
    private String sensorId;

    @TableField(exist = false)
    private String sensorName;

    @TableField(exist = false)
    private String stationId;

    @TableField(exist = false)
    private String stationName;

    @TableField(exist = false)
    private String sensorType;

    @TableField(exist = false)
    private List<Map<String,Object>> historyData;
}
